package one.stand.request;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 优惠券更新单号表单 测试用
 * @author luoyang
 * @date 2020/4/28 19:34
 */
@Data
public class CouponOrderRequest extends BaseRequest implements Serializable {
    /**
     * 优惠券Id
     */
    @NotNull(message = "优惠券id不能为空")
    @ApiModelProperty(value = "优惠券id",required = true)
    private Long userCouponId;

    @ApiModelProperty(value = "订单编号,更新单号时必须",required = true)
    @NotNull(message = "订单编号不能为空")
    private String orderNum;
}
